import './assets/main.css'

import { createApp } from 'vue'
// import { createPinia } from 'pinia'

import App from './App.vue'
import router from './router'

import store from './stores'

//vant 样式引入
import 'vant/lib/index.css'
import './styles/global.scss'

// import persist from 'pinia-plugin-persistedstate'
import 'virtual:svg-icons-register'
import { SvgIcon } from '@/components/index' //Svg-icon

const app = createApp(App)

app.use(store)
app.use(router)
//svgicon全局注册
.component("SvgIcon", SvgIcon)

app.mount('#app')
